/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.Objects;
/*    */ 
/*    */ 
/*    */ public class iz
/*    */ {
/*    */   public float w;
/*    */   public float q;
/*    */   public float g;
/*    */   
/*    */   public iz(float f1, float f2) {
/* 13 */     this.w = 0.0F;
/* 14 */     this.q = f1;
/* 15 */     this.g = f2;
/*    */   }
/*    */   
/*    */   public void v() {
/* 19 */     this.w += this.q;
/* 20 */     if (this.w >= this.g) {
/* 21 */       this.w = 0.0F;
/*    */     }
/* 23 */     else if (this.w < 0.0F) {
/* 24 */       this.w = this.g;
/*    */     } 
/*    */   }
/*    */ 
/*    */   
/*    */   public boolean equals(Object object) {
/* 30 */     if (this == object) {
/* 31 */       return true;
/*    */     }
/* 33 */     if (!(object instanceof iz)) {
/* 34 */       return false;
/*    */     }
/* 36 */     iz iz1 = (iz)object;
/* 37 */     return (Math.abs(iz1.q - this.q) <= 1.0F && Math.abs(iz1.g - this.g) <= 1.0F);
/*    */   }
/*    */ 
/*    */   
/*    */   public int hashCode() {
/* 42 */     return Objects.hash(new Object[] { Float.valueOf(this.q), Float.valueOf(this.g) });
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\iz.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */